export function handelProgess(progess) {
  if (!progess) return null;
  if (!progess.match(/\d+\/\d+/g)) {
    return null;
  }
  const arr = progess.split('/');
  if (!arr || arr.length !== 2) return null;
  const start = Number(arr[0]);
  const total = Number(arr[1]);
  if (!total) return null;

  const ans = (start / total) * 100;
  if (isNaN(ans)) return null;
  return ans;
}
